appeal to (someone's) vanity

Translations
flatter la vanité de quelqu’un
Definitions
To flatter or compliment someone in order to influence them or gain their favor by making them feel proud or self-important.